Add container_name to compose files

This commit is contained in:
Mohammed Al-Mahdawi 2021-05-18 21:11:35 +03:00
parent 7d528c7aa6
commit 1a427b1e1e
3 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,7 @@ version: '3.7'
services:
akaunting:
container_name: akaunting
image: docker.io/akaunting/akaunting:latest
build:
context: .
@ -20,6 +21,7 @@ services:
- akaunting-db
akaunting-db:
container_name: akaunting-db
image: mariadb
volumes:
- akaunting-db:/var/lib/mysql

View File

@ -3,6 +3,7 @@ version: '3.7'
services:
akaunting:
container_name: akaunting
build:
dockerfile: fpm-alpine-nginx.Dockerfile
context: .
@ -21,6 +22,7 @@ services:
- akaunting-db
akaunting-db:
container_name: akaunting-db
image: mariadb
volumes:
- akaunting-db:/var/lib/mysql

View File

@ -3,6 +3,7 @@ version: '3.7'
services:
akaunting:
container_name: akaunting
build:
dockerfile: fpm.Dockerfile
context: .
@ -27,6 +28,7 @@ services:
- ./nginx/templates:/etc/nginx/templates
akaunting-db:
container_name: akaunting-db
image: mariadb
volumes:
- akaunting-db:/var/lib/mysql