blob: cdf85a0b68669bd515a0a26165a230971c816f51 [file] [log] [blame]
Adrià Vilanova Martínez60524332022-11-20 02:33:56 +01001version: "3.5"
2
3services:
4 pastanagapp:
5 image: avm99963/fisipastanagapp
6 env_file: .env
7 ports:
8 - "8080:80"
9 depends_on:
10 - db
11 networks:
12 - backend
Adrià Vilanova Martínez7e1c7612022-12-10 17:49:15 +010013 volumes:
Adrià Vilanova Martínez239ce2c2022-12-12 00:03:55 +010014 - phpsessions:/var/phpsessions
Adrià Vilanova Martínez60524332022-11-20 02:33:56 +010015 restart: unless-stopped
16 db:
Renovate bot82b0e412023-12-30 01:02:44 +000017 image: mariadb@sha256:9da6213d1a5714c4585c9c0003c51510b320d6f60e53d78701fe1e194126249f
Adrià Vilanova Martínez60524332022-11-20 02:33:56 +010018 environment:
19 MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
20 MARIADB_DATABASE: ${DB_NAME}
21 networks:
22 - backend
Adrià Vilanova Martínez239ce2c2022-12-12 00:03:55 +010023 volumes:
24 - ./db-data:/var/lib/mysql
Adrià Vilanova Martínez60524332022-11-20 02:33:56 +010025 restart: unless-stopped
26
27networks:
28 backend:
Adrià Vilanova Martínez239ce2c2022-12-12 00:03:55 +010029
30volumes:
31 phpsessions: