diff --git a/Dockerfile b/Dockerfile index 743b41c..5c46637 100755 --- a/Dockerfile +++ b/Dockerfile @@ -24,9 +24,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ COPY requirements.txt . COPY run-web.py . -COPY ./webapp ./webapp -COPY ./discordbot ./discordbot COPY ./database ./database +COPY ./discordbot ./discordbot +COPY ./protondb ./protondb +COPY ./webapp ./webapp COPY zabbix_agent2.conf /etc/zabbix/zabbix_agent2.conf COPY start.sh /start.sh diff --git a/docker-compose.yml b/docker-compose.yml index d823972..6cc7840 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,10 @@ services: # Image hébergée sur GitHub Container Registry image: ghcr.io/skylanix/mamiehenriette:latest + # Build du conteneur à partir d'un Dockerfile local + # build: . + # image: mamiehenriette + # Redémarrage automatique en cas d'erreur restart: on-failure @@ -23,6 +27,6 @@ services: ports: # Interface web sur http://localhost:8000 - - 80:5000 + - 5000:5000 # Port Zabbix (décommentez si nécessaire) # - "10050:10050" \ No newline at end of file