updated docker

main
alex 2023-11-04 09:25:29 +01:00
parent b97027d3aa
commit 89fb629cad
2 changed files with 2 additions and 23 deletions

View File

@ -2,7 +2,7 @@ FROM golang:latest
WORKDIR /app
COPY main /app/main
COPY public /app/public
COPY ./main /app/main
COPY ./public /app/public
CMD ["./main"]

View File

@ -7,24 +7,3 @@ services:
build:
context: .
dockerfile: Dockerfile
restart: always
ports:
- "8085:3000"
volumes:
- jnx_robot_control_manager_data:/app
environment:
- DOCKER=true
- DEBUG=true
- COLORIZED_OUTPUT=true
- HOST=127.0.0.1
- PORT=3000
- LOG_MANAGER_SERVER_URL=http://localhost:50110
- SSE_SERVER_ENABLED=true
- MARIADB_HOSTNAME=127.0.0.1
- MARIADB_PORT=3306
- MARIADB_USERNAME=db_user
- MARIADB_PASSWORD=db_password
- MARIADB_DATABASE_NAME=db_database_name
volumes:
jnx_robot_control_manager_data: