chore: move docker files to root directory
Move Dockerfile, ipatool, and docker-compose.yml from the docker directory to the root directory to simplify the project structure and improve maintainability. Update the paths in the Dockerfile to reflect the new locations.
This commit is contained in:
20
docker-compose.yml
Normal file
20
docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
version: "3.8"
|
||||
name: ${CONTAINER_NAME}
|
||||
|
||||
services:
|
||||
ipago:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
restart: always
|
||||
container_name: ipago-${CONTAINER_NAME}
|
||||
hostname: ipago
|
||||
environment:
|
||||
- CONTAINER_NAME=${CONTAINER_NAME}
|
||||
- PORT=${PORT}
|
||||
ports:
|
||||
- "${PORT}:8000"
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: ipago
|
||||
Reference in New Issue
Block a user