mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-07 00:48:53 +01:00
Add example docker-compose.yaml for Postgres
This commit is contained in:
26
docker-compose.pgsql.yml
Normal file
26
docker-compose.pgsql.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
version: "3.0"
|
||||
services:
|
||||
limesurvey:
|
||||
build:
|
||||
context: apache/
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- /tmp/upload/:/var/www/html/upload/
|
||||
links:
|
||||
- lime-db
|
||||
depends_on:
|
||||
- lime-db
|
||||
ports:
|
||||
- "8080:80"
|
||||
environment:
|
||||
- "DB_TYPE=pgsql"
|
||||
- "DB_PORT=5432"
|
||||
- "DB_HOST=docker-limesurvey_lime-db_1"
|
||||
- "DB_PASSWORD=secret"
|
||||
- "ADMIN_PASSWORD=foobar"
|
||||
lime-db:
|
||||
image: postgres:10
|
||||
environment:
|
||||
- "POSTGRES_USER=limesurvey"
|
||||
- "POSTGRES_DB=limesurvey"
|
||||
- "POSTGRES_PASSWORD=secret"
|
||||
Reference in New Issue
Block a user