blob: 64e090a2cb9aad3fbfbac84b77c033b0d290a819 [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:
17 image: mariadb
18 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: