Skip to content
Snippets Groups Projects
Commit 8abcee9b authored by Valentin Wibaillie's avatar Valentin Wibaillie
Browse files

push

parent a52a58ba
No related branches found
No related tags found
No related merge requests found
..env.swp 0 → 100644
File added
#Change le port hôte sur lequel on se connecte au conteneur
HOST_PORT=8080
MYSQL_ROOT_PASSWORD=root
FROM debian:stable
RUN apt-get update && apt-get -y install apache2 php cron
CMD ["/bin/bash"]
FROM debian:stable
RUN apt-get update && apt-get -y install apache2 php cron
version: '3.9'
services:
front:
image: ./Dockerfile
image: rss/image-apachephp:latest
build:
context: apachephp
dockerfile: Dockerfile
environment:
HOST_PORT:
ports:
......@@ -13,6 +16,12 @@ services:
- db
db:
image: mysql
# NOTE: use of "mysql_native_password" is not recommended: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
# (this is just an example, not intended to be a production configuration)
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD:
networks:
- db
networks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment