Files
docker-limesurvey/docker-compose.pgsql.yml
Markus Opolka 487881f785 Remove default passwords in all example files (#171)
* Remove default passwords in all example files

 - To discourage production use without changing the passwords.
2023-10-19 09:41:52 +02:00

35 lines
859 B
YAML

version: "3.0"
services:
limesurvey:
build:
# Hint: Change it to 3.0/apache/ if you want to use LimeSurvey 3.*
context: 6.0/apache/
dockerfile: Dockerfile
volumes:
# Hint: This is just an example, change /tmp to something persistent
- /tmp/upload/surveys:/var/www/html/upload/surveys
links:
- lime-db
depends_on:
- lime-db
ports:
# Hint: Change it to 80:8080 if you are using LimeSurvey 3.*
- "8080:8080"
environment:
- "DB_TYPE=pgsql"
- "DB_PORT=5432"
- "DB_HOST=lime-db"
# - "DB_PASSWORD="
# - "ADMIN_PASSWORD="
lime-db:
image: docker.io/postgres:10
volumes:
- db-data:/var/lib/postgresql/data
environment:
- "POSTGRES_USER=limesurvey"
- "POSTGRES_DB=limesurvey"
# - "POSTGRES_PASSWORD="
volumes:
db-data: