mirror of https://github.com/akaunting/docker.git
Add container_name to compose files
This commit is contained in:
parent
7d528c7aa6
commit
1a427b1e1e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue