https://github.com/vbetsch/tp-docker
🐳 Master 1 - Docker compose to deploy a Wordpress 3-tier architecture
https://github.com/vbetsch/tp-docker
docker docker-compose
Last synced: 7 months ago
JSON representation
🐳 Master 1 - Docker compose to deploy a Wordpress 3-tier architecture
- Host: GitHub
- URL: https://github.com/vbetsch/tp-docker
- Owner: vbetsch
- Created: 2024-04-26T13:11:52.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T20:30:36.000Z (about 2 years ago)
- Last Synced: 2024-12-29T00:52:02.316Z (over 1 year ago)
- Topics: docker, docker-compose
- Language: Makefile
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TP Docker
Docker compose to deploy a 3-tier architecture
## Dependencies
- [Docker](https://docs.docker.com/engine/install/)
- [Docker Compose](https://docs.docker.com/compose/install/)
## Installation
1. Copy the `.env.example` file to create an `.env` file at the root of the project.
2. Fill in the data with your values
> You can also use the .sample.env file as a starting point.
## Getting started
There are two ways to manage services:
- with the `compose` plugin *(docker compose)*
- with the Docker Compose package *(docker-compose)*.
### Plugin mode
- Start services
```sh
docker compose up -d
```
- Stop services
```sh
docker compose down --remove-orphans
```
### Package mode
- Start services
```sh
docker-compose up -d
```
- Stop services
```sh
docker-compose down --remove-orphans
```