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:4762bcec7c5396fa672d1035498bda3506f29f253190ff4cb642bb7e99785977 | |
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: |