modified: docker-compose.yaml
new file: serv_migration/docker-compose.yml renamed: migrator/Dockerfile -> serv_migration/migrator/Dockerfile renamed: migrator/go.mod -> serv_migration/migrator/go.mod renamed: migrator/go.sum -> serv_migration/migrator/go.sum renamed: migrator/migrations/20240819162009_create_users_table.sql -> serv_migration/migrator/migrations/20240819162009_create_users_table.sql renamed: migrator/migrations/20240825004755_add_column_role_to_users.sql -> serv_migration/migrator/migrations/20240825004755_add_column_role_to_users.sql moove migrator into serv_migrator directory create new docker-compose.yaml
This commit is contained in:
+1
-14
@@ -2,19 +2,7 @@ services:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# migrator:
|
|
||||||
# container_name: migrator
|
|
||||||
# build:
|
|
||||||
# context: ./migrator
|
|
||||||
# dockerfile: Dockerfile
|
|
||||||
# env_file:
|
|
||||||
# - .env
|
|
||||||
# depends_on:
|
|
||||||
# - api
|
|
||||||
# - db
|
|
||||||
# volumes:
|
|
||||||
# - goose:/migrations
|
|
||||||
# command: goose up
|
|
||||||
|
|
||||||
# spa:
|
# spa:
|
||||||
# container_name: spa
|
# container_name: spa
|
||||||
@@ -102,7 +90,6 @@ services:
|
|||||||
# - internal
|
# - internal
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
goose:
|
|
||||||
certbot_data:
|
certbot_data:
|
||||||
certbot_www:
|
certbot_www:
|
||||||
keycloak-postgres:
|
keycloak-postgres:
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
service:
|
||||||
|
migrator:
|
||||||
|
container_name: migrator
|
||||||
|
build:
|
||||||
|
context: ./migrator
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
depends_on:
|
||||||
|
- api
|
||||||
|
- db
|
||||||
|
volumes:
|
||||||
|
- goose:/migrations
|
||||||
|
command: goose up
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
goose:
|
||||||
Reference in New Issue
Block a user