blob: af7b637ec88f894e1bd1f56542c4ade251be7216 [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 bota628f4e2024-01-18 20:02:46 +000017 image: mariadb@sha256:eb6a2d34367b662a6e9c92e8cd112bbadf03ad4627f8eeb8d19f480f8da87fa6
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: