blob: cdf85a0b68669bd515a0a26165a230971c816f51 [file] [log] [blame]
version: "3.5"
services:
pastanagapp:
image: avm99963/fisipastanagapp
env_file: .env
ports:
- "8080:80"
depends_on:
- db
networks:
- backend
volumes:
- phpsessions:/var/phpsessions
restart: unless-stopped
db:
image: mariadb@sha256:9da6213d1a5714c4585c9c0003c51510b320d6f60e53d78701fe1e194126249f
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
MARIADB_DATABASE: ${DB_NAME}
networks:
- backend
volumes:
- ./db-data:/var/lib/mysql
restart: unless-stopped
networks:
backend:
volumes:
phpsessions: