blob: 285d81e5da5f6de1838aba13785bb074b94a36a0 [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:
14 - ./db-data:/var/lib/mysql
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
23 restart: unless-stopped
24
25networks:
26 backend: