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.
21 lines
351 B
YAML
21 lines
351 B
YAML
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
|