Adrià Vilanova Martínez | 6052433 | 2022-11-20 02:33:56 +0100 | [diff] [blame] | 1 | version: "3.5" |
| 2 | |
| 3 | services: |
| 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ínez | 7e1c761 | 2022-12-10 17:49:15 +0100 | [diff] [blame] | 13 | volumes: |
| 14 | - ./db-data:/var/lib/mysql |
Adrià Vilanova Martínez | 6052433 | 2022-11-20 02:33:56 +0100 | [diff] [blame] | 15 | 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 | |
| 25 | networks: |
| 26 | backend: |