Compare commits
No commits in common. "18d6c5183e3dc376c883cb38d022a170803f3b65" and "e7c8315cd0d0459439c6e957d40b5f3b6322eab5" have entirely different histories.
18d6c5183e
...
e7c8315cd0
24
z1/README.md
24
z1/README.md
@ -1,23 +1 @@
|
|||||||
Welcome in my Readme file!
|
start of the readme
|
||||||
|
|
||||||
1. Deployment requirements:
|
|
||||||
- Have a Linux OS
|
|
||||||
- Have Docker and Docker Compose
|
|
||||||
|
|
||||||
2. Application overview :
|
|
||||||
This is an app using Flash and it's connected to a PostgreSQL database.
|
|
||||||
The only thing that the app do is show a little text in a web page.
|
|
||||||
|
|
||||||
3. Virtual networks and named volumes used
|
|
||||||
- Virtual network: my app uses a Docker network who makes the communication between web app and the database possible.
|
|
||||||
- Named volume: I have one persistent volume "postgres_data" for store the database files so I have the data when the cainer is restarted.
|
|
||||||
|
|
||||||
4. Container configuration :
|
|
||||||
It uses 2 containers:
|
|
||||||
- The web container (Flash): the exposes port is 5000, and I use my_app_network as network.
|
|
||||||
- The database container (PostgreSQL): there are 3 environment variables (user, password and database); a persistent volume (postgres_data) and it uses my_app_network as network.
|
|
||||||
|
|
||||||
5. Instructions for the deployment :
|
|
||||||
-First, need
|
|
||||||
|
|
||||||
6. Instructions for accessing the app :
|
|
Loading…
Reference in New Issue
Block a user