backend-20260204142529-8d7e75a-compose
sha256:77480d3843c18c32641afef8dfa47c92dee8ddfdf17c40fb520db5711e70d000
Last pushed
5 months by blasetvrtumi
Type
Compose
Manifest digest
sha256:77480d3843c18c32641afef8dfa47c92dee8ddfdf17c40fb520db5711e70d000
# In project root:
# docker pull blasetvrtumi/rarecips
# cd docker
# docker-compose -p rarecips up --build
services:
rarecips-app:
container_name: rarecips-app
image: blasetvrtumi/rarecips:dev
ports:
- "8443:8443"
depends_on:
- rarecips-DB
command: [ "/bin/sh", "-c", "./wait-for-it.sh rarecips-DB:3306 -- && java -jar /app/rarecips-0.0.1-SNAPSHOT.jar" ]
environment:
- SPRING_DATASOURCE_URL=jdbc:mysql://rarecips-DB:3306/rarecips
- SPRING_DATASOURCE_USERNAME=root
- SPRING_DATASOURCE_PASSWORD=password
rarecips-DB:
container_name: rarecips-DB
image: mysql:9.0.0
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: rarecips
volumes:
- /var/lib/mysql
volumes:
mysql:docker compose -f oci://blasetvrtumi/rarecips:backend-20260204142529-8d7e75a-compose upUse the above command to pull and run the Compose file. Learn more.
MySQL is a widely used, open-source relational database management system (RDBMS).
Pulls
1B+
Stars
16153
Last Updated
5 days