CORXN/docker-compose.yml

40 lines
791 B
YAML

# Sample Docker Compose
services:
corxn:
image: 4lights/corxn:6.0.0
ports:
- "8000:80"
volumes:
- ./:/data # looks for /data/public
- ./php.ini:/php/php.ini # Optional override php.ini
- ./data/logs:/var/log/apache2 # Optional Logs
restart: unless-stopped
networks:
- proxy
- internal
redis:
image: redis:latest
networks:
- internal
restart: unless-stopped
mariadb:
image: mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: dbname
MYSQL_USER: user
MYSQL_PASSWORD: password
volumes:
- ./data/db:/var/lib/mysql
networks:
- internal
restart: unless-stopped
networks:
proxy:
external: true
internal:
driver: bridge