Private
Public Access
actualizado para usar air y tener builds más rapidas
This commit is contained in:
1 parent
2c9ffe9822
commit
73f9cef8ce
3 files changed
+90
-1
No files matched your search
+19
-1
@@ -22,7 +22,7 @@ services:
|
||||
go-api:
|
||||
build:
|
||||
context: ./back
|
||||
dockerfile: Dockerfile
|
||||
dockerfile: Dockerfile.dev
|
||||
ports:
|
||||
- "8080:8080"
|
||||
env_file:
|
||||
@@ -33,6 +33,24 @@ services:
|
||||
restart: on-failure
|
||||
networks:
|
||||
- app-network
|
||||
volumes:
|
||||
- ./back:/app
|
||||
- /app/tmp
|
||||
|
||||
# go-api:
|
||||
# build:
|
||||
# context: ./back
|
||||
# dockerfile: Dockerfile
|
||||
# ports:
|
||||
# - "8080:8080"
|
||||
# env_file:
|
||||
# - ./back/.env
|
||||
# depends_on:
|
||||
# mysql:
|
||||
# condition: service_healthy
|
||||
# restart: on-failure
|
||||
# networks:
|
||||
# - app-network
|
||||
|
||||
mysql:
|
||||
image: mysql:8.4
|
||||
|
||||
Reference in new issue
Block a user