remove mysql container in docker-compose.yml
This commit is contained in:
Binary file not shown.
33
docker-compose.yml
Executable file → Normal file
33
docker-compose.yml
Executable file → Normal file
@ -1,20 +1,20 @@
|
||||
name: alex-api-docker
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:8.0
|
||||
container_name: mysql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ALEXzcz123456
|
||||
MYSQL_DATABASE: test_alex
|
||||
MYSQL_USER: alex
|
||||
MYSQL_PASSWORD: ALEXzcz123456
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- mysql-data:/var/lib/mysql
|
||||
networks:
|
||||
- alex-bridge-network
|
||||
# mysql:
|
||||
# image: mysql:8.0
|
||||
# container_name: mysql
|
||||
# restart: always
|
||||
# environment:
|
||||
# MYSQL_ROOT_PASSWORD: ALEXzcz123456
|
||||
# MYSQL_DATABASE: test_alex
|
||||
# MYSQL_USER: alex
|
||||
# MYSQL_PASSWORD: ALEXzcz123456
|
||||
# ports:
|
||||
# - "3306:3306"
|
||||
# volumes:
|
||||
# - mysql-data:/var/lib/mysql
|
||||
# networks:
|
||||
# - alex-bridge-network
|
||||
|
||||
redis:
|
||||
image: redis:6
|
||||
@ -35,7 +35,7 @@ services:
|
||||
container_name: alex-api
|
||||
restart: always
|
||||
depends_on:
|
||||
- mysql
|
||||
# - mysql
|
||||
- redis
|
||||
ports:
|
||||
- "8888:8888"
|
||||
@ -68,3 +68,4 @@ volumes:
|
||||
networks:
|
||||
alex-bridge-network:
|
||||
driver: bridge
|
||||
|
||||
|
@ -7,37 +7,19 @@
|
||||
=========|_|==============|___/=/_/_/_/
|
||||
:: Spring Boot :: (v2.6.13)
|
||||
|
||||
2025-07-15 11:43:25.522 INFO 2731342 --- [ main] com.ctgu.alexapi.AlexApiApplication : Starting AlexApiApplication using Java 17.0.15 on server with PID 2731342 (/home/alex/alex-api/app/alex-api-0.0.1-SNAPSHOT.jar started by alex in /home/alex)
|
||||
2025-07-15 11:43:25.529 INFO 2731342 --- [ main] com.ctgu.alexapi.AlexApiApplication : The following 1 profile is active: "dev"
|
||||
2025-07-15 11:43:26.670 INFO 2731342 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
|
||||
2025-07-15 11:43:26.673 INFO 2731342 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2025-07-15 11:43:26.706 INFO 2731342 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces.
|
||||
2025-07-15 11:43:27.652 INFO 2731342 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8888 (http)
|
||||
2025-07-15 11:43:27.672 INFO 2731342 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
|
||||
2025-07-15 11:43:27.672 INFO 2731342 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.68]
|
||||
2025-07-15 11:43:27.801 INFO 2731342 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
|
||||
2025-07-15 11:43:27.802 INFO 2731342 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2120 ms
|
||||
2025-07-15 13:58:33.312 INFO 2743270 --- [ main] com.ctgu.alexapi.AlexApiApplication : Starting AlexApiApplication using Java 17.0.15 on server with PID 2743270 (/home/alex/alex-api/app/alex-api-0.0.1-SNAPSHOT.jar started by alex in /home/alex)
|
||||
2025-07-15 13:58:33.315 INFO 2743270 --- [ main] com.ctgu.alexapi.AlexApiApplication : The following 1 profile is active: "dev"
|
||||
2025-07-15 13:58:34.759 INFO 2743270 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
|
||||
2025-07-15 13:58:34.762 INFO 2743270 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2025-07-15 13:58:34.823 INFO 2743270 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 0 Redis repository interfaces.
|
||||
2025-07-15 13:58:36.299 INFO 2743270 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8888 (http)
|
||||
2025-07-15 13:58:36.329 INFO 2743270 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
|
||||
2025-07-15 13:58:36.329 INFO 2743270 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.68]
|
||||
2025-07-15 13:58:36.520 INFO 2743270 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
|
||||
2025-07-15 13:58:36.520 INFO 2743270 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3079 ms
|
||||
_ _ |_ _ _|_. ___ _ | _
|
||||
| | |\/|_)(_| | |_\ |_)||_|_\
|
||||
/ |
|
||||
3.5.1
|
||||
2025-07-15 11:43:29.762 INFO 2731342 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8888 (http) with context path ''
|
||||
2025-07-15 11:43:29.774 INFO 2731342 --- [ main] com.ctgu.alexapi.AlexApiApplication : Started AlexApiApplication in 5.133 seconds (JVM running for 5.941)
|
||||
2025-07-15 11:49:39.065 INFO 2731342 --- [0.0-8888-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
|
||||
2025-07-15 11:49:39.065 INFO 2731342 --- [0.0-8888-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
|
||||
2025-07-15 11:49:39.067 INFO 2731342 --- [0.0-8888-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
|
||||
2025-07-15 12:02:23.069 INFO 2731342 --- [0.0-8888-exec-4] o.apache.coyote.http11.Http11Processor : Error parsing HTTP request header
|
||||
Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
|
||||
|
||||
java.lang.IllegalArgumentException: Invalid character found in method name [0x160x030x010x000xee0x010x000x000xea0x030x030x880xde0x9ay0xe50x870xf3VZ0xb90xd80xca0xc00x0dY<0xabC`d0xc70xed0xf60xe60x9b0x05_:*0xe8L0x9e ]. HTTP method names must be tokens
|
||||
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:419) ~[tomcat-embed-core-9.0.68.jar!/:na]
|
||||
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:271) ~[tomcat-embed-core-9.0.68.jar!/:na]
|
||||
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat-embed-core-9.0.68.jar!/:na]
|
||||
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893) ~[tomcat-embed-core-9.0.68.jar!/:na]
|
||||
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789) ~[tomcat-embed-core-9.0.68.jar!/:na]
|
||||
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.68.jar!/:na]
|
||||
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[tomcat-embed-core-9.0.68.jar!/:na]
|
||||
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-9.0.68.jar!/:na]
|
||||
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.68.jar!/:na]
|
||||
at java.base/java.lang.Thread.run(Thread.java:840) ~[na:na]
|
||||
|
||||
2025-07-15 13:58:38.617 INFO 2743270 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8888 (http) with context path ''
|
||||
2025-07-15 13:58:38.630 INFO 2743270 --- [ main] com.ctgu.alexapi.AlexApiApplication : Started AlexApiApplication in 6.208 seconds (JVM running for 7.075)
|
||||
|
Reference in New Issue
Block a user